<?php

class JezykPoManager {

    private $_translator;

    public function __construct(array $options) {
        $options['adapter'] = 'gettext';
        $options['scan'] = Zend_Translate::LOCALE_FILENAME;
        $options['content'] = APPLICATION_PATH . '/languages';
        $this->_translator = new Zend_Translate($options);
    }

    public function getTranslator() {
        return $this->_translator;
    }

}